follows:
#! /bin/bash RecycleBin=~/.temp (($#==0)) { echo "No paraments!";exit 1; } if [ ! -d $RecycleBin ]; then mkdir $RecycleBin fi for i in $* do if test -e $i then cd $(dirname $i) mv -f $(basename $i) $RecycleBin/$(find $(pwd) -maxdepth 1 -name $(basename $i) | tr "/" "=") cd - else echo "$i:No such file or directory!" fi done
The Shell script for file recovery is named
parameter file: all parameter files are usually under $ORACLE _home/dbsSqlplus query statement: show parameter spfile;Network connection files: $ORACLE the _home/dbs/network/admin directoryControl file: SELECT * from V$controlfile;Data files: typically recorded in oracledata/instancesSelect file_name from Dba_data_files;Log f
Restore non-critical Oracle files, redo, temporary files, index files, and password files
The Application of Incremental backup is in the rediscovery stage and is no longer in the restore stage.
Learn about the database settings table:SQL> desc database_propertiesName Null? Type-----------------------------------------
Php reads zip files (delete files, extract files, and add files) instances. The following small series will show you several examples of php zip files. we can read the specified files in the zip package and delete the specified
[Python] python3 file operations: input files from the keyboard, open and close files, read and write files, rename and delete files, etc,1. Input from the keyboard
Python 2 has two built-in functions used to read data from standard input, which are by default from the keyboard. These two functions are: input () and ra
Extract files from zip files The code is as follows:Copy code /*Php extracts files from zip files*/$ Zip = new ZipArchive; If ($ zip-> open('jquery5-screen scroll corner code .zip ') === TRUE) {// The Chinese file name must use the ANSI-encoded file format$ Zip-> extracloud ('foldername'); // extrac
Environment: WIN10 64-bit python3.7Single *.py file packagingPython GUI: program packaged as EXEFirst, install Pyinstaller, command pip install Pyinstaller, (uppercase P, knocking on the blackboard, to test)Second, packaging EXE steps:CMD enters the PY program project directory, executes the command: Pyinstaller-f-w--icon=xxx.ico main.py--noconsole. Where-F is the generation of a single EXE executable file, and-W represents the form program,--icon is to set the EXE's display icon, ' main.py ' is
To open multiple files:1.vim has not started yet:Enter in terminalVim file1 file2 ... filen can open all the files you want to open2.vim has startedInput: Open FileA file can be opened again, and the contents of the file will be displayed in Vim at this time.: E.. /myfile.pl1. Vim Document name Open document in normal way2. Vim +n document name after opening the document, position the nth row3. Vim, after e
To open multiple files:1.vim has not started yet:Enter in terminalVim file1 file2 ... filen can open all the files you want to open2.vim has startedInput: Open FileA file can be opened again, and the contents of the file will be displayed in Vim at this time.
: E.. /myfile.pl
1. Vim Document name Open document in normal way2. Vim +n document name after opening the document, position the nth row3. Vim, after
What file is a GIF file?
GIF is divided into static GIF and animated GIF two kinds, is an image file with our psd,jpg is just the same as the storage algorithm.
What tool does the GIF file open?
GIF files do not need specific software to open, if we just see can be directly double-click the picture to preview, if we want to edit the picture need to use special tools such as Firwork,ps to deal with.
How do you make GIF
Preface: Last time I wrote an article about indexes, several insite emails from yuanyou asked me how to store indexes and tables on different hard disks. I think it should be easier to write an article to describe files and file groups.
Introduction
In SQL Server, the storage method of the database on the hard disk is no different from that of the common files in windows, just a few
Currently, most of the Linux file systems are in Ext3 format. Once a file is deleted, it may not be restored, even if it can be recovered. Therefore, executing the rm command becomes abnormal. Therefore, we can write two Shell scripts to safely delete and restore files. The principle is very simple. Create a hidden folder ". temp" under the current user's home directory, which is equivalent to the recycle bin in Windows. To safely delete a file, cut t
(Reprinted) GCC and OBJ files, dynamic link files and elf files
--------------------------------------------------------------------------------1. OBJ file Programmers write programs by writing a binary file. If we declare a variable char C, that is, the Declaration requires an 8-bit space, then we need to declare to the system that the 8-bit space is reserved. H
Original address: http://www.topbug.net/blog/2012/03/17/ generate-ctags-files-for-c-slash-c-plus-plus-source-files-and-all-of-their-included-header-files/This post was for those people who use exuberant Ctags. If you is using other versions of Ctags, the This post is not being useful. When using ctags to generate the "tags file for C + + projects, usually we use
Oracle non-critical file recovery, redo, temporary files, index files, password files, and oracleredo
The Application of Incremental backup is in the rediscovery stage and is no longer in the restore stage.
Learn about the database settings table:SQL> desc database_propertiesName Null? Type--------------------------------------------------------------------------
Prohibit computer sharing of files, prohibit LAN sharing of files, and prevent copying shared filesSometimes to protect the security of computer files, we need to disable computer sharing and block LAN shared file access. The specific settings are as follows:Method 1: Disable shared folders and group policies to block network sharing.The group policy is a very po
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.